Total Complexity | 15 |
Dependencies | 1 |
Dependents | 1 |
Total lines | 102 |
Lines of code | 44 |
Logical lines of code | 24 |
Comment lines | 41 |
Methods | 6 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
hooks() | 56 | 6 | 17 | |
addToCart() | 71 | 2 | 6 | |
singleAddToCart() | 71 | 2 | 6 | |
removeFromCart() | 71 | 2 | 6 | |
updateCartOrCheckout() | 71 | 2 | 6 | |
__construct() | 80 | 1 | 3 |